﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Drawing;
using System.IO;

namespace Siser.Web.Models
{
    public class convertidor
    {
        public Image StringToImage(string base64String) 
        {
          MemoryStream ms= new MemoryStream(Convert.FromBase64String(base64String));
          return Image.FromStream(ms);
        }
    }
}